package com.ding.custommanagersys.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ding.custommanagersys.entity.Area;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ding
 * @since 2023-04-18
 */
@Mapper
public interface AreaMapper extends BaseMapper<Area> {

    List<Area> listAllAreaInfo(Page<Area> page,
                               @Param("id") Integer id,
                               @Param("province") String province);

    Integer getMaxUid();
}
